/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.car;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.car.CarApply;

/**
 * @author CSJ (email:raulcsj@163.com)
 * @since 2013-01-11
 */
public interface CarApplyService {

    /****************************************
     * Insert a instace of CarApply
     ****************************************/
    void insert(CarApply carapply) throws Exception;

    /****************************************
     * Insert instaces of CarApply
     ****************************************/
    void batchInsert(CarApply carapply) throws Exception;

    /****************************************
     * Delete a instace of CarApply
     ****************************************/
    void delete(CarApply carapply) throws Exception;

    /****************************************
     * Delete instaces of CarApply
     ****************************************/
    void batchDelete(CarApply carapply) throws Exception;

    /****************************************
     * Update a instace of CarApply
     ****************************************/
    void update(CarApply carapply) throws Exception;

    /****************************************
     * Query instaces of CarApply
     ****************************************/
    List<BaseModel> queryAsList(CarApply carapply) throws Exception;

    /****************************************
     * Query a instaces of CarApply
     ****************************************/
    BaseModel queryAsObject(CarApply carapply) throws Exception;
}
